package com.fx.device.service.activit;

import com.fx.device.common.util.ReturnMessage;
import com.fx.device.vo.activit.ProUser;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface ProcessDefinitionService {
    ReturnMessage<Object> uploadStreamAndDeployment(MultipartFile multipartFile, String deploymentName);

    ReturnMessage<Object> upload(MultipartFile multipartFile);

    ReturnMessage<Object> addDeploymentByFileNameBPMN(String deploymentFileUUID, String deploymentName);

    ReturnMessage<Object> addDeploymentByString(String stringBPMN, String deploymentName);

    ReturnMessage<Object> getDefinitions();

    void getProcessDefineXML(HttpServletResponse response, String deploymentId, String resourceName);

    ReturnMessage<Object> getDeployments();

    ReturnMessage<Object> delDefinition(String depID, String pdID);


    ReturnMessage<Object> delDefinitionWithNotPdId(String depID);


}
